Skip to content

Fix XSS when encoding incomplete tags (#625) #626

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 6, 2025

Conversation

Crozzers
Copy link
Contributor

@Crozzers Crozzers commented Apr 5, 2025

This PR fixes #625 by doing a proper and thorough check for auto links in _encode_incomplete_tags.

The previous check was flimsy and could easily be tricked by some malicious HTML.

@nicholasserra nicholasserra merged commit c91007d into trentm:master Apr 6, 2025
15 checks passed
@nicholasserra
Copy link
Collaborator

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

XSS via _encode_incomplete_tags bypass
2 participants